home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / bash-completion.preinst < prev    next >
Text File  |  2009-10-05  |  358b  |  26 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.     install|upgrade)
  7.     if [ -d /usr/share/doc/bash/completion-contrib ] && [ ! -h /usr/share/doc/bash/completion-contrib ]; then
  8.         rm -rf /usr/share/doc/bash/completion-contrib
  9.     fi
  10.     ;;
  11.  
  12.     abort-upgrade)
  13.     ;;
  14.  
  15.     *)
  16.         echo "preinst called with unknown argument \`$1'" >&2
  17.         exit 1
  18.     ;;
  19. esac
  20.  
  21.  
  22.  
  23. exit 0
  24.  
  25.  
  26.